package com.zhuiyun.project.api.venuemanagement.mapper;

import com.zhuiyun.project.api.venuemanagement.entity.BanRecord;
import com.zhuiyun.project.api.venuemanagement.entity.SysDept;
import com.zhuiyun.project.api.venuemanagement.entity.SysUser;
import com.zhuiyun.project.api.venuemanagement.entity.VenueManagement;
import com.zhuiyun.project.api.venuemanagement.model.SelectSubordinateModel;
import com.zhuiyun.project.api.venuemanagement.model.VenueSelectModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @InterfaceName VenueReviewMapper
 * @Description TODO
 * @Author wuwan
 * @Date 2023/12/6 10:54
 **/
@Mapper
public interface VenueReviewMapper {
    /*
     * @Author wuwan
     * @Description 添加场馆
     * @Date 2023/11/2 14:18
     * @Return
     */
    Integer addVenueReview(VenueManagement venueManagement);
    /*
     * @Author wuwan
     * @Description 添加场馆部门
     * @Date 2023/11/2 14:18
     * @Return
     */
    Integer addDepartment(SysDept sysDept);
    /*
     * @Author wuwan
     * @Description 将场馆账号添加至账号管理表
     * @Date 2023/11/6 11:02
     * @Return
     */
    Integer addSysUser(SysUser tenantUser);
    /*
    * @Author wuwan
    * @Description 查询所有未授权场馆信息
    * @Date 2023/12/6 11:10
    * @Return
    */
    List<VenueSelectModel> selectVenueReview(String userName, String phone);
    /*
    * @Author wuwan
    * @Description 账号授权
    * @Date 2023/12/9 15:37
    * @Return
    */
    Integer upVenueReview(BanRecord banRecord);
}
